<div class="banner-home">
    <?php foreach ($banners as $banner) { ?>
    <?php if ($banner['link']) { ?>
    <a class="banner-home-<?php echo $module; ?>" href="$banner['link']"><img alt="<?php echo $banner['title']; ?>" src="<?php echo $banner['image']; ?>" title="<?php echo $banner['title']; ?>" /></a>
    <?php } else { ?>
    <img alt="<?php echo $banner['title']; ?>" src="<?php echo $banner['image']; ?>" title="<?php echo $banner['title']; ?>" />
    <?php } ?>
    <?php } ?>
</div>
